﻿using DynamicBase;
using System;

namespace DynamicClass
{
    public class TestTask : IWorkTask
    {
        public bool DoTask()
        {
            Console.WriteLine("开始执行DynamicClass-TestCode-DoTask任务啦");
            Random ran = new Random();
            var num = ran.Next(0, 10);
            Console.WriteLine("num:" + num);
            return (num % 2 == 1);
        }
    }
}
